package com.sam.data;

import android.text.TextUtils;

/**
 * &lt;br&gt;Created
 *
 * @author wangds
 * @see
 */
public class UserData  {
    public final static String TABLE_NAME = "UserData";
    private String mName;
    private int mAge;
    private float mHeight;

    public String getName() {
        return mName;
    }

    public void setName(String name) {
        mName = name;
    }

    public int getAge() {
        return mAge;
    }

    public void setAge(int age) {
        mAge = age;
    }

    public float getHeight() {
        return mHeight;
    }

    public void setHeight(float height) {
        mHeight = height;
    }

    @Override
    public boolean equals(Object o) {
        if(o instanceof UserData){
            return TextUtils.equals(mName,((UserData) o).getName())&&
                    mAge == ((UserData) o).getAge()&&
                    mHeight == ((UserData) o).getHeight();
        }else{
            return false;
        }
    }
}
